package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void saveOrUpdate(Permission e);
    void delete(Long id);
    PageInfo query(QueryObject qo);
    Permission selectOne(Long id);
    List<Permission> listAll();

    void reload();

    List<String> selectExpressionByEMPId(Long id);
}
